<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>link与visited</title>
		<style>
			/*未被访问时link*/
			a:link{
				background-color:mediumvioletred ;
				color: white;
			}
			/*被访问后：visited*/
			a:visited{
				background-color: cornflowerblue;
				color: seashellwhite;
			}
		</style>
	</head>
	<body>
		<a href="##">link</a>
	</body>
</html>
